<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>    
	<!-- Left -->
	<div id="left_column" class="column">
	<!-- Block categories module -->
	<div id="categories_block_left" class="block">
		<h4>Danh mục</h4>
		<div class="block_content" id="navigation">			
			<ul class="tree dynamized" style="display: block; ">
				<s:set name="childCate" value="childCate"/>
				<s:iterator value="parentCate" var="parent">
					<li>
						<a <s:if test="#childCate[#parent.category_id]!=''"> href="<s:url action="category"><s:param name="cid" value="#parent.category_id" /></s:url>" </s:if> <s:else> href="javascript:;" </s:else> title="<s:property value="#parent.title"/>">
							<s:property value="#parent.title"/>
						</a>
						<ul>
							<s:iterator value="#childCate[#parent.category_id]" var="child">
								<li>
									<a href="<s:url action="category"><s:param name="cid" value="#child.category_id" /></s:url>" title="<s:property value="#child.title"/>">
										<s:property value="#child.title" />
									</a>
								</li>
							</s:iterator>			
						</ul>
					</li>				
				</s:iterator>
			</ul>
			<div style="clear: both;"></div>
		</div>
	</div>
	<!-- /Block categories module -->

	<!-- MODULE Block cart -->
	<div id="cart_block" class="block exclusive">
		<h4>
			<a href="">Giỏ Hàng</a>
			<span id="block_cart_expand" class="hidden">&nbsp;</span>
			<span id="block_cart_collapse">&nbsp;</span>
		</h4>
		<div class="block_content">
			<!-- block summary -->
			<div id="cart_block_summary" class="collapsed">
				<span id="cart_collapsed">
					<span class="ajax_cart_no_product" style="display: inline-block; ">(Rỗng)</span>
				</span>
			</div>
			<!-- block list of products -->
			<div id="cart_block_list" class="expanded">
				<span id="cart_expanded">
					<p id="cart_block_no_products">0 Sản phẩm</p>
				</span>
				<div class="cart-prices">
					<div class="cart-prices-block">
						<span>Tổng Tiền</span>
						<span id="cart_block_total" class="price ajax_block_cart_total">0 VNĐ</span>
					</div>
				</div>
					<p id="cart-buttons">
						<a href="<s:url action="checkout"/>" class="btn_cart" title="Cart">Xem Giỏ</a>
						<a href="<s:url action="payment"/>" id="button_order_cart" class="btn_checkout" title="Check out">Đặt Hàng</a>
					</p>
			</div>
		</div>
	</div>
	<!-- /MODULE Block cart -->
	</div>
